package top.fyxxxx.dbdesign.data;

import java.util.List;
import java.util.List;
import java.util.Set;

public class Course {
    private String name;//课程名
    private long cid;//课程编号
    private long createTime;//创建课程时间
    private long createByUid;//由Uid用户创建
    private List<Long> taskList;//签到任务编号列表
    private Set<Long>powerUid;//有权限在此课程中创建签到任务的Uid
    private Set<Long>memberUid;//加入此课程的Uid
    public Course(){}
    public Course(String name,long cid,long createTime,long createByUid, List<Long>taskList,Set<Long>powerUid,Set<Long>memberUid)
    {
        this.name=name;
        this.cid=cid;
        this.createTime=createTime;
        this.createByUid=createByUid;
        this.taskList=taskList;
        this.powerUid=powerUid;
        this.memberUid=memberUid;
    }
    public long getCreateByUid() {
        return createByUid;
    }

    public long getCreateTime() {
        return createTime;
    }

    public String getName() {
        return name;
    }

    public long getCid() {
        return cid;
    }

    public List<Long> getTaskList() {
        return taskList;
    }

    public Set<Long> getMemberUid() {
        return memberUid;
    }

    public Set<Long> getPowerUid() {
        return powerUid;
    }

    public void setCreateByUid(long createByUid) {
        this.createByUid = createByUid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public void setCid(long cid) {
        this.cid = cid;
    }

    public void setMemberUid(Set<Long> memberUid) {
        this.memberUid = memberUid;
    }

    public void setPowerUid(Set<Long> powerUid) {
        this.powerUid = powerUid;
    }

    public void setTaskList(List<Long> taskList) {
        this.taskList = taskList;
    }

}
